package com.lwp.mybatisplus.springbootmybatisplus.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lwp.mybatisplus.springbootmybatisplus.entity.User;

/**
 * BaseMapper 必须 泛型
 * <p>
 *     不泛型报错：
 *     Invalid bound statement (not found): com.lwp.example.springbootmybatisplus.mapper.UserMapper.selectList
 * </p>
 */
public interface UserMapper extends BaseMapper<User> {
    /*int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);*/
}